package com.gitee.wsl.net.client.bean

import com.gitee.wsl.net.client.authentication.AccountSettings
import java.net.URL

open class BaseHost(val url: URL, val accountSettings: AccountSettings, val isProxy: Boolean) {

}

 class Host(url: URL, accountSettings: AccountSettings, val proxy: Proxy?=null):BaseHost(url,accountSettings,isProxy = false){

}

 class Proxy( url: URL,  accountSettings: AccountSettings):BaseHost(url,accountSettings,isProxy = true){

}